using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MMM.Core.Domain;
using ServiceStack.ServiceHost;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;


namespace MMM.Services.Type
{
    [Serializable]
    [Route("/api/companyinfo", "POST,PUT")]
    [Route("/api/companyinfoQ", "GET")]
    public class CompanyInfo : EntityBase<CompanyInfo>
    {
        /// <summary>
        /// 企业中文名称
        /// </summary>
        [StringLength(50)]
        public String ChineseFullName { get; set; }
        /// <summary>
        /// 企业中文简称
        /// </summary>
        [StringLength(50)]
        public String ChineseShortName { get; set; }
        /// <summary>
        /// 企业英文全称
        /// </summary>
        [StringLength(50)]
        public String EnglishFullName { get; set; }
        /// <summary>
        /// 企业英文简称
        /// </summary>
        [StringLength(50)]
        public String EnglishShortName { get; set; }
        /// <summary>
        /// 工商注册号
        /// </summary>
        [StringLength(50)]
        public String BankNumber { get; set; }
        /// <summary>
        /// 注册地
        /// </summary>
        [StringLength(50)]
        public String RegisterRoom { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(200)]
        public String Remark { get; set; }
        /// <summary>
        /// 性质
        /// </summary>
        [StringLength(50)]
        public String Property { get; set; }
        /// <summary>
        /// 规模
        /// </summary>
        public int Scope { get; set; }
        /// <summary>
        /// 主页
        /// </summary>
        [StringLength(50)]
        public String HomePage { get; set; }
        /// <summary>
        /// 上级单位
        /// </summary>
        [StringLength(50)]
        public String HigherUnit { get; set; }
        /// <summary>
        /// 所属集团
        /// </summary>
        [StringLength(50)]
        public String UnderGroup { get; set; }
        /// <summary>
        /// 办公所在地
        /// </summary>
        [StringLength(50)]
        public String WorkPlace { get; set; }
        /// <summary>
        /// 公司所在地
        /// </summary>
        [StringLength(50)]
        public String CompanyPlace { get; set; }
        /// <summary>
        /// 其他业务信息
        /// </summary>
        [StringLength(50)]
        public String Other { get; set; }
        /// <summary>
        /// 负责人名称
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 负责人ID
        /// </summary>
        public Guid? UserID { get; set; }
        /// <summary>
        /// 上级单位ID
        /// </summary>
        public Guid? SuperiorID { get; set; }
    }
}
